Clean up and some changes.
Changed the base and added stroke functions.

Blen color per pixel functions and stroke by mask.