display notes only after all are generated

Greatly improves load time of pages with a lot of notes (less DOM changes).