removed extra sloppy output after exiting preferences window