Almost complete rewrite. Changed lastKnownStaffName column in notes table to be staffuuid and to take staff uuids instead.