Like, hey, this URL just points to say, a QT app, and then it runs in this "browser" window over the network. Where have I heard of this before...
Everything else just feels like loads of duct tape on top of an over-stressed document browsing paradigm. Just rip it out completely.