Merge pull request #18 from SaveTheRbtz/master

Stability, build improvements and sanitizers.
Merge remote-tracking branch 'upstream/master'
Merge pull request #19 from SaveTheRbtz/master

Fixes for bugs reported by agodin@
v0.19.2