cleaned up non-trivial warnings, left the trivial ones.
refactored input manager to use SDL input events