small bugfixes
Merge branch 'master' of github.com:csquared/resin-piminer