Rewrote InventoryGUI::toggle() more succinctly.