added missing returns to GuiCompiler