Added error handling to InputManager.