Fix raw blocks.
Use nongreedy matching in strings, too.
Fix strict mode checks.
Don't try to render templates for redirects.
Fix preg_match_all crashing on bigger templates. This is due to apache's small stack size (8 mb) that makes the program segfault.