Fixed spelling
Added key press ability
Fixed constants
Fixed newlines