Cleaned up a lot of stuff
Cleaned up slow/redundant getImageData() calls
Cleaned up more slow/redundant getImageData() calls
At a decently clean, mostly working, basic solution. Needs some major mobile optimizations