Fix bug where saved custom CSS lagged by one init.
Refactor sidebar captions fix.