Quit calculation

it would be nice to be able to quite the current calculation by pressing ESC or so in case PC is hanging.