Add context menu to the tree view, fixes #50