improve tree gui, fix theoretical plot (hack), optimize settings