Added additional error checking for loading music data