Fixing some gui issueswq