various fixes to gui