misc improvements
Merge branch 'master' of github.com:go4and/lib