the only real change is in drawImage function: instead of 4 calls to the s function performs only one, which does not affect chrome much but improve firefox speed about twice
removed mpos variable as unused
Merge branch 'master' of https://github.com/MRN-Code/slicer