fixed locate db loading; enable modelines in gedit