Moving Event Handling into KeyRunner.cpp.

Further steps towards objectifying KeyRunner.cpp.
Preferring usage of uint16_t for portability.

Replaced uint, and unsigned ints with uint16_t.