Minor fixes to previous commit

File x of total needed the index to be added by 1.
Needed to enable/disable play next/play previous files in the File menu.