several bug fixes and added some default scancodes