gui showing and bug fixes