Factoring out some code.
Adding TeeLogger. Using it in vtowrker.