Updated the preview note stuff to fit with the current note editing paradigm.