tested cool colors option and renamed a few things
refactored code in preparation for screen sampling option
added (somewhat non-functional) screen sampling option