Keyboard management issues are fixed.

Now space characters work as they should. Enter button also works.