Adapted most of the SceneGraphOverlay* code to my coding standard
Fixed error when changing the baselayer with a vertical curtain enabled