Add support for master maintenance (cleanup old reports and
clientbucket files if any); Minor cosmetics;