Fix gui bugs with naming and logging