     retro.player.inputs = [
       buttons: {}
     ]
-    setInterval ->
+    autosaver = setInterval ->
       localForage.setItem retro.md5, new Uint8Array retro.save
     , 1000
-    onkey = (event) ->
-      if retro.player and settings.keys.hasOwnProperty event.which
-        pressed = event.type == 'keydown'
-        retro.player.inputs[0].buttons[settings.keys[event.which]] ?= {}
-        retro.player.inputs[0].buttons[settings.keys[event.which]].pressed = pressed
-        event.preventDefault()
     window.addEventListener 'keydown', onkey
     window.addEventListener 'keyup', onkey
     retro.start()
-  .catch (err) ->
-    console.error err
 
 loadData = (filename, buffer) ->
   draghint.classList.add 'hidden'

  reader.readAsArrayBuffer file

window.addEventListener 'drop', (event) ->
  event.preventDefault()
  draghint.classList.remove 'hover'
  if event.dataTransfer.files.length > 0

        break
  else if settings.extensions[extension]
    rom = buffer
  play rom, extension
  .catch (e) ->
    console.error e
    alert "that file couldn't be loaded"
    draghint.classList.remove 'hidden'

load = (file) ->
