Add support for bootstrap themes.
Misc fixes.