Fix alert reporting is no file/line information is available.
Set the output theme in the initialisation static method (i.e. after the
environment is constructed), as some themes need access to the
environment to construct themselves (resulting in an infinite loop!)
Add a new static initialiser for an error alert
Small improvement to the Twig based theme.