Input impromenets

+ Fixed some input issues
+ Added KeyboardListener for listening to keyboard events
+ Added formatUtf8