~ Prettify log & minor fixes

* Make use new pp* function in logging.
* Fix directory check: accidently mix up dir and file path.