Fix: Outside should use entered().
Fix script tags in index-dev.html.
Macro-based approach to infering component IDs.