Many cosmetic fixes. Some javascript errors also fixed.

The new bootstrap is slowly being learned. Too many things to change
from the old version.