continue improving analyzer gui

also change add_directories to add_directory, because the PyQt4
convenience method we were using will only return one directory
at a time.