TAM and alpha related fixes
- Improved TAM transitions by adding an enum and splitting out the TAM buffer contents to a separate function processed after the state transitions
- Added fix so alpha characters are processed on key pressed rather than key released
- Process functions in TAM alpha the same way as AIM: close entry (EXIT TAM) and then run the function
Contributes to #523 (closed), contributes to #630 (closed).