toolbar fix, fixed contextmenus, added mouse events, added class functions, added toolbar actions method