I've thought about your issue with the code being added below the recordsets, but I don't know what the right answer is.
We place the code below recordsets so that someone could get the values from a recordset... just in case someone wants to use a recordset to maintain which plugin to show.
In dreamweaver we can tell it to place the code above or below recordsets, but unfortuntately it will place it below all recordsets if we tell it to... including ones on the page.
So we either have to leave it broken for users with embedded recordsets, or break it for users that use a recordset value... so I can't decide which is better. Maybe we should move it above the recordsets and let people that bind to recordset values move it manually... or we have to leave it as it is and have people that use recordsets embedded in html move it manually.
I'll keep thinking about it and try to come up with a compromise.