Mainapp: App must be STA thread for OLE to work?

Fixes #454
Stop relying on part number to determine PartType