qbrick: this code is not valid anymore
picsearch: better error messages