Adding the sidebar. Fixing some stuff.