Fixed some errors in layer handling.
Renamed and improved pixelation example.