Added rudimentary engine crash handling

Presents a message and closes JASP down if the engine crashes