replaced bitmask for game/tape key/mouse actions by flags again