add menu for notes (bookmarks, events, states)
separate dockwidget and thread in separate module