some caret tweaks, and a text-transform fix for the sidebar