Fixes to sidebar and some random stuff.