fixed stencil
generated code cleanup
some fb fixes
cleanup shader manager