GUI mostly done