adopted log I/O limits and suppression on errors
approached various bug inheriet/spotted by stress testing
corrected an "open"->"write"->"close" to a "with open"->"write"
Merge pull request #163 from globaleaks/bughunt/stresstest

Bughunt/stresstest