fixed environments, first gui stuff