DB/Misc: Fix some startup errors

By dr-j