Worked on the notes infrastructure. Notes can now be deleted.