fixed threading in multiprocess applications
refactored tests
removed needless comments
Bump version: 0.9 → 1.0