Remove useless layers object.
Little clearing.
Remove comments.
Sometime blending will be useful.
Decrease frame delay.
Extract shader programs objects.
BaseLayer example added.