added commands, handlers, trimbar and popup menus