     }

        if (evt.which == 32) {  // space
            evt.preventDefault();
            if (driver.isRunning()) {
                driver.stop();
            } else {
                driver.start();
            }
        }

    }

    function keyup(evt) {
        if (evt.which == 17) {  // control
            controlled = false;
        }
        if (evt.which == 16) {  // shift
            shifted = false;
        }
    }

    function searchForTrack() {
        console.log("search for a track");
  