inserting new objects
Main and popup menus mostly done and wired up, not all of them implemented yet.