complete overhaul of the context menu system