Added an options dialog and proper support for excluded files.