Fixed input glitches, cleared the code slightly.

Input is now using Curses::Window, as it should

Added Q as exit key