Fix addition of imported MIDI files to the recent files list
Fix duplicate score name
Remove #ifdef because the 'if' branches become equal
Don't add recent score if it is already last in recent list
Fix empty recent file path: save file before add it to recent list
Fix last session MIDI file path