Fixed color thresholding and pixel mask

Proof:

https://www.dropbox.com/s/8jvq9j4jocp2kh4/Screen%20Shot%202013-12-08%20at%201.01.37%20AM.png