public MainWindow()
        {
            _state = new GuiState();
            InitializeComponent();

            _state.Loaded = true;
            publishState();
        }
 private void clearAllButton_Click(object sender, RoutedEventArgs e)
 {
     _state        = new GuiState();
     _state.Loaded = true;
     publishState();
 }