Combined gui and simulation