Added code to paint buffer from layers with transparency
Added code to draw window layer (screen emulation)