Pull main stuff out of closure for console accessibility.