Note selection basically done. It's a horrendous mess, but works.