Convert error pages to BS3.

- Don't leave the meta title empty.
- Present the error in a panel.
Convert gallery to BS3 and use Magnific Popup with it.