I hate to rain on the parade, but programmatic writing to the Stack Exchange sites pre-write API isn't supported.
While we can't forbid you from trying, you need to be aware that the instant someone uses a similar technique nefariously we're going to come down like a sack of bricks on it.
I also know we've seen some more-successful-than-usual bots recently, in attacking them there's a good chance we'll accidentally break you in the very near-ish future.
Basically, I wouldn't suggest trying write at all right now. It's going to be very frustrating for you and your users in all likelihood.