RF: Cleanup
NF/RF: Redo keypress code and add mousepress.
NF: Reduced sleep in event loop from 500 to 250 us.