More fleshing out of layer refresh
Stop catching errors on renderer-comparison
Argument passing trick
Fixing reverted lines
Bugfix to return preferred layer type
Bugfix
layerLookup modified to not throw errors on nonexisting layer, but to instead give null (ideal behavior for new use cases)