Added multinote support, fixed note bug.