Adds -logg to Makefile.am and fixes UI issues