Fixed Issues

Fixed several Issues that occured after deleting nodes.
Fixed an issue that made it impossible to delete all nodes.
Fixed an issue that showed only one of possible more not connectd graphs
after deleting the connecting nodes.

Fix for Labelings @ Mail Calum