Initial code to support some win32/osx UI types