Implemented multiple masking engines.
Split off into two new files: wt-mask.js (masking functions), wt-draw.js (output drawing functions)
Updated documentation. Shuffled some constants.