Model listener support
Fix race condition in project prefs.