Fix song scanning with new album system

Also fix various other song scanning issues
Fix errors with broken elections