Update NotesCLient.py

General updates and fixes