unit tests show a gui if --showgui option is given
reorganize command line options
fixup initialization list

(to address reorder warning)