Stencil buffer and dirty bits for masks; also changed formats and swizzle functions to what espes uses. Introduced new MASK wrappers but transitioning slowly
Bugfixes
Using unscreen-space transform suggested by espes