Added error message box.
Added the ability to omit operational layers from the layer list.