Changes to prevent crashing in certain edge cases (within mp3's in my library).

I added a few checks/tweaks to fix cases that were causing crashes due to "Index out of range" errors on mp3's in my library.