Fix wrong config
Implement auto convertion of db

This automatically converts the db if older version
is detected
Fix test_complete_ui,

Modify the test such that it matches what happens
when invoking with -k