app now writes a string map at exit, fixed more problems with that crappy log format