reading and minor fixes
Merge branch 'master' of https://github.com/danielskatz/WSSSPE