Changed gui, added preview command and improved techtree command