Adds tree UI initialisation

- Mouse listeners have been separated. Keyboard commands are common.