Solve some possible GSOD with some plugins

Thanks Dima73
http://openpli.org/forums/topic/32640-pip/