some minor style fixes
add keypress events