issue #39, mmap bugfixed + test added
changes related to logging improvements
cleanup tool added