Refactoring
Improved managment of blending
Improved light engine