Removes image plugin
Corrects for safe mode