Various fixes following Bootstrap 3 migration.