Fixed some thresholding issues
Merge branch 'master' of https://github.com/Ourobor/petulant-batman.git