Changed layout engine to only pre-load templates, not pre-parse. This stopped a panic with an invalid pointer reference.