Work on input system

- Fixed a bug where FSMs tracking a single button had pressed/released
states mixed up (oops).
- First pass on FSMs detecting a sequence of inputs. Still need to make
them reset when the sequence is too slow or incorrect.