Cleaned-up behaviour switches

Delaying switches until cell end could have caused timing issues (e.g.
failing to eat a ghost immediately after eating a pill). Switches are
now instant, reversal request is stored.