added logging to xmax.gui library