Added directory listener to GuiState