Added a keyboardSpeed option and better comments in main.js