Simplify the linkedLayers code.

This will hide base linked layers when the sider is fully on ortho.

And finally lintage.