It might be easier on Win32, which is more single-user oriented. If there are other (Unix) programs that do this *well*, we could follow their example.
I think galeon has an example of what you're looking for ... as well as a few interesting related features (like document tear-off).
Cheers, mx