UI: Close screens by their hotkeys.

Convenient way to close some screens by the same hotkey that is used to open them, so you don't have to reach for escape or other keys. Inventory hotkey is in another request. BasescapeState.cpp changes are probably due to newline conversions, I can't fix that.