Fix segmentation fault for screenshots; Enable crash protection for plugins;
Merge pull request #266 from abozhilov/screenshot

Fix segmentation fault for screenshots; Enable crash protection for plugins