Adding RUN_PROFILER flag for, well, profiling.
If our input str is empty, all files are eligible, duh.
Adding some debugging.
Sleep in increments while we getch() to avoid redrawing the screen if we don't have to.
Refactor match_cmp to avoid computing nonempty_groups multiple times per match.
Adding opened file to history.  Fixes #3.