Remove objectInitPlugins, objectFiniPlugins and all related
functions/structures

Add windowInitPlugins, windowFiniPlugins

Rewrite initPlugin, finiPlugin