Added support for 5 Layers and continue editing  previous Layer/Palette
Adding intermediate trail-stacked canvas
Fixes for selectLayer