fixes #669
some minor fixes
Merge branch 'devel' of https://github.com/Araq/Nimrod into devel