Added code to store the container in the RunningContext and pass that RunningContext to the MainWindow