Fixed bug : no page displayed when on error. Added more template control. Tidied up.
Fixed bug : no page displayed when on error.
Added more template control.
Tidied up.

diddledan/CRIMP,diddledan/CRIMP,diddledan/CRIMP,diddledan/CRIMP