removed unused error declarations
update Note.String()
cosmetic changes