some fixes
Merge branch 'master' of github.com:kapelner/CGMBART_GPL