Further sanity checking on the contents of cur_filelist
More jquery.
Yet more queryification, this time making selectedIndex work.
Make sure the delete/display buttons are initially deselected.