Fixed EmptyLayerProcessor, with some debug statements intact