updated hotkeys and fixed form initialization