Completely rewrite the sidebar

Starting to feel pretty good about this. It looks like A Real Thing .
Zoom!

Also removed some dead code from the previous commit.