Fixed synchronous flow for template module parsing (used to leave .deferred in cache forever)
Fix for <?module?>: unique IDs are now assigned during compilation rather than parsing