add "delete nodes" to context menu

plus, some cleanup