Implement show/hide_cursor() under Linux
Move InputManager instantiation into Device and rename GetDevice() to device()
Fix escape key handling in terrain sample