Change GetCmdForHotkey to use a switch. Cuts down on if-statement spam. Also fixed a typo in ConfigMain.