Fixed warnings, Fleshed out LayerPanel