LayerStack changes and new tests.
Layer stack control widget, work in progress.