Added support for monitor/term sync api
Quarry will now resume after a shutdown, and can be aborted