Big rewrite of focus handling, removed stuff from state.js
Started work on key input box for action form