Better node manipulation.

Click and drag now works even on node creation.
Clicking background with a node already selected just deselects instead
of creating a new node.