Reworked note editing to fit with the current editing model. Updated rhombus.js to the latest version, which has better loop handling, among other changes.