single player now working.
Many bug fixes regarding input and cursor positions