fixes for #62, #65, #66
update readme
Merge pull request #67 from mkoryak/bug-fixes

bug fixes