model: allow to pass empty arrays

Arrays of length = 0 are not often useful, but could be in the case of
fake detectors.
At least, let's not completely fail passing them.
gui model: remove duplicate method

probably came in via a merge conflict