Single project tree selection

Instead of having seperate selections within the project tree
there is now a state of which 'type' is currently selected. The
delete button at the top now attempts to delete whatever is selected
(no component deletion at the moment).