added logging to guiObjects