Contacts search WIP.
Fix null references in multilevel_visibility_monitor
Fix unit tests.
Remove stray debugging statement.