Moved pushButton's action to actual actions.

1. Now you can see extended menu on the top.
2. Smart disconnect button (action) : it disconnects two nodes if you
select them, breaks all connections of node if only it is selected.
Some changes.

Some beautiful changes : deleted old code that is no longer needed.