Merge pull request #6 from isao/develop

invoke callback after we're sure all writes are complete
tag v0.0.3 (based on v0.0.2-5-g3a9b07c)
Merge branch 'master' into develop