Main: fix data type
Main: finally handle the IID and CLSID stuff on XPCOM the same way as on MSCOM, those hacks won't be missed,