Kali fixes

Check the new database config location.
Don't crash on sporadic JRE style error.