Improve directory prompting and resolution (refs #133, #134, refs #144).