Fix googleanalytics plugin to be platform-specific
Add support for "before" field on startup modules
Split main rendering into it's own startup module