Add the ability to add custom records with sound files in custom domains

Also fixing the issue with the record playing message not appearing due to itemrecord being null at runtime