Threadify file logger, handle save files form cmdline

fixes #638
Every time, I swear...