Guard a bit better if 'currentstatus' is not set.

Also remove the quit() for debugging