Fixes adding notes, actions, measurements. Cleans up the UI for all these things.