Initialization of task window deferred until runSession() call. Allows for interactive construction and configuration of environment before task begins