database error logging setup

added more settings for removing null albums and song titles.
fixed a few bugs