New feature: save the psentinel status on filesystem. Some small bugfix