Switched to focusout due to Chrome bug with blur event firing twice when the app loses focus
Added keyboard controls
Removed console.log