Fix bad plugins messing up preview and auto completer (related to #1221)
Merge pull request #1348 from mahagr/2.0

Fix bad plugins messing up preview and auto completer (related to #1221)