better tilde expansion
better logging in single threaded mode.