Remove base_error.html in favour of base.html

Parameterise base.html so it works for error pages (when e.g. a theme ID is not supplied).