DB/Misc: Fix: Some path errors and other stuff (Thx malcrom)