added keypress handlers
fixed socket connection address
spacebar preventdefault
en/disabling buttons and input fields
some validation
not sure what i changed