gui: Avoid crash on verify, if buffers are empty

Signed-off-by: Michael Buesch <m@bues.ch>