Properly end notes in the visualizer.

Account for rests, so notes don't trail into each other.

Also bring the visualizer back to the main music player display, and make switching modes more seamless. Start works both ways, and the visualizer isn't reset when switching.