Refactoring plugin architecture. Remove non visible windows.