REmoved memory manager, becouse it is not working. Layer Switcher not working now.
But working zIndex sorting layer visibility changing.