Code cleanup and minor change
Change:
Code cleanup
Loop over all portalsLayers when delete resonator