public StageForm(StageDocument stage)
{
InitializeComponent();
joinOverlay = new JoinOverlay();
joinOverlay.Owner = this;
this.SetBackgroundGrid();
history = new History();
surfaces = new Dictionary<String, ScreenDrawingSurface>();
surfaceLocations = new Dictionary<string, Point>();
SetStage(stage);
MainForm.Instance.DrawOptionToggled += () => { joinOverlay.Visible = MainForm.Instance.DrawJoins; };
}