fixed threading in multiprocess applications
refactored tests
removed needless comments
Bump version: 0.9 → 1.0
Merge pull request #24 from nikicat/master

fixed threading in multiprocess environment