Bug fixes - gui crashing and default profile