Nodes now change colour when selected.
Code is now PROPERLY OO.