How do I remove traces of root while keeping my phone intact?

Okay, I'm developing the Soup or Root program for droids (computer-based, no apk yet sorry) as we all know, but I'm getting soooo tired of having to reflash my Droid to stock ROM over and over and over!!

I'm now working on Soup or Root 2.0 which means I'm going to be rooting my droid multiple times again to test effectively, but I really really really like the custom ROM and settings and everything I have on there now. Ugh!!!!

Is there a way that I could save my Droid's current state exactly how it is as a flashable ROM for when I'm done testing, just flash to this ROM and I'm back to what I like? That way I could flash to stock ROM, root test, reflash stock ROM, root, repeat until testing is complete, then flash to my current state (ROM backup) and be happy with my Droid?

Maybe I could get the droid simulator on my computer to be recognized by ADB, what do you think? That would save me all trouble of confusing the crap out of my poor Droid!!

Use nandroid to back up, then when you are done with your testing, wipe, install the backup of the preferred layout, and your phone will be just as you want it.
next, read through some of the forums to learn the basics. You are going to have people do screwy things to their phones, no matter how bulletproof you make your app, and they are going to expect you to have the experience to help them figure it out.

Close, but no cigar. Next one is in AutoIt and is literally a one-click root. Open the program, click "Root Me!" and it will do its thing in the background so you just do whatever you want on your computer for about 3 minutes (sorry, rageagainstthecage takes a while to work and can't be changed) and voila!! USB Debugging still required, of course but that's all!!

I'm still waiting for someone *anyone, please* to tell me th commands I would have to include in an APK release.

Close, but no cigar. Next one is in AutoIt and is literally a one-click root. Open the program, click "Root Me!" and it will do its thing in the background so you just do whatever you want on your computer for about 3 minutes (sorry, rageagainstthecage takes a while to work and can't be changed) and voila!! USB Debugging still required, of course but that's all!!

I'm still waiting for someone *anyone, please* to tell me th commands I would have to include in an APK release.