basic sidebar formatting function
refactoring pass
more refactoring work
Verify that the sidebar doesn't mutate on update

it would be possible for extra newlines to show up every update and
still pass existing tests
the test confirms that everything is working as expected