the gap in ID numbers shouldn't matter.
run Utilities > Database Optimization function to rebuild the indexes.
see if that eliminates the freeze problem.
if not, use /RadioDJ/Setup/Database setup
tab = DatabaseUtils > Repair DB
if not, you could run a backup of your database, /RadioDJ/Setup/Database setup
then delete many songs, and only leave about 100 songs,
then run Utilities > Database Optimization function.
if nothing else, wipe the entire computer ans do fresh install of windows, then start over using MariaDB