Stratum library rewrite
Merge pull request #88 from xenog/stratum-simple

Stratum library rewrite
Fixed thread exceptions in Stratum code
Merge pull request #89 from xenog/stratum-simple

Fixed thread exceptions in Stratum code