Croak if there is not context in a panel

but we want to extract one

Signed-off-by: Daniel Borchmann <daniel.borchmann@mailbox.tu-dresden.de>
More cosmectics for with-swing-error-msg

Signed-off-by: Daniel Borchmann <daniel.borchmann@mailbox.tu-dresden.de>