fix verbosity bug, code cleanup, utf8 fixes