Fixed several crashing bugs

Fixed several crashing bugs in relation to hotkeys and added scrollbar
support into the Light Settings Gui. (Any other additions currently
excluded from commit).