Tweaked the media selection algorithm section and fixed a bug in the Note.