misc fixes from Stuart's comments
Merge pull request #6 from BayesianLogic/misc-fixes

misc fixes from Stuart's comments