Fix exception in exporttodatabase that occurs if no objects in imageset and showing display
Make the analysis worker start AWT, even though headless