Yet more code to the Win32 component. Note - bug present (mix-in classes somehow seem to corrupt vtable for MainFrame)