fixed --startdir command line.
fixed file dialogs not being in the current directory.