Just as an aside, are you aware of Whalesong?
http://hashcollision.org/whalesong/
It's a Javascript VM that interprets Racket bytecode. It's complete enough to run, eg. World/Universe games or render HTDP2e pictures. Might be useful for some of what you're doing.
I'm hoping that the prototyping can lead to Racket being the tools and authoring platform.
Racket is a great environment for developing DSLs and graphical tools.