added comments and fixed typos
Merge branch 'master' of https://github.com/pvphaneuf/MiscSBRG