Input refactor + new constant FPS internal run loop

Matches any key/state with a 1-9 in it, not that *is* 1-9.