Might wanna take a look at MUI. It's better than having to rewrite everything from scratch. I've never tried it, myself, I can't find many examples of how to use it, but I honestly haven't looked that hard. From what I've seen of it in action, it's a pretty slick development library.
Two cents.
Ed.