Yes, it is a bit complex I'm afraid. I went down this route because of the difficulty with capping those open walls around the windows with a chamfer. I'm not sure if it would suit your use case, but you might find it easier to create this using material IDs assigned to the splines instead of markers. That way you can easily have single, easy(er) to understand, generators assigned to each spline section.
Cheers,
Paul