Added a way of telling if the window has focus.

Added function hasFocus() to Input
Added default values to Input class variables.