Remove Win32-specific error codes
Add keyboard and mouse input support