Re loop fix

- Rewrote findAllNotes() to avoid an infinite loop. Should also be easier to understand what it does.
- The change in upThenRightWhenPossible(vFocus) isn't necessary, but I think it's safer.