Improved input event handler for Options menu

Moved all the event handling functionality to the main event handler
instead of ahving a separate event handler within the screen function
that was extremly unresponsive.