fix DX11 GDI-compatible render buffer creation
add NPAPI plugin instance invalidation method, and reclaiming script object