Allow to set sane options; hal improvements; better error feedback; added task for image cleanup