Hi,

you can find here a draft of a script to help GUI coding.
This is a draft. Comments are welcome (more on goal and strategy than code cleanness if I can say.)
You can run it on non sensitive script or better, on the demo, though it does backup.