This thread may also be of interest:
This is the basis of the cross platform UI I use for my GH built Rhino plugins.
Cheers
DK