Edit menu refactor, note editor (incomplete)