Port the rest to global instance of PraghaPrefrences. So, forget of cwin.
Fix seg fault on  pragha_preferences_get_filename_list().
TODO: Reapend incompatible db upgrade test.