clearing selected_files array
removed debug statement
corrected width of display, and numbering of files shown in title when filtering