Final version 3 - With directory chooser at startup and a quick check for directories.