Fix error if person has no spouse but really does
Improve person search

* Case insensitive.
* sub matches ok.
Finish with keyboard event after enter found.
Fix undefined variable reference
Fix processing person notes.
Close dialog before displaying search results