Added in functionality to only act on keybind when in inventory mode.  Closes #5;