AGOS: Add image dumping to file enable by debugflag.

This previously required a code change and recompile to enable.
It can now be enabled or disabled at runtime using the "image_dump"
debug flag.
GUI: Minor further fixes to "debuglevel" command in Debugger base class.