Checking into this -- this looks like it would be right up my alley. I will read through it, but something I'm wondering: does it require X? This will eventually run on a remote machine w/o an X-server. :)
Anyway, cheers -- got something to explore for a while, that's for sure.