Clean up and add docs, improved display of instructions when the sidebar is empty