Some cleaning up. Added functionality to StdNote.