extensive changes to support a render thread

Activex working, npapi broken at this point.
FBTestPlugin now has a render thread drawing a 'scene' (a single
triangle with a changing colour background)