Made preparations for introduction of post run processing. (Automated post-processing). Please see documentation/wiki.
Redesigned logging entries.
Fixed several unclosed file handles causing exception.