phots searching and changes

accidentally the notes search controller last commit
other changes.
random shit that is random.