Fix some problems with recent file list
Fix bug in the recent files