The death of KEYRELEASED

oh yeah also a whole bunch of other stuff lols.
Merge pull request #14 from variousauthors/input

The death of KEYRELEASED