@Override
		public final void tActionEvent(TActionEvent e)
			{
				Object eventSource = e.getSource();

				// Important buttons
				if (eventSource == mainMenuButton)
					changeRenderableObject(Hub.menu);
				else if (eventSource == resetSimButton)
					sim.reset = true;
				// Change menu's ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
				else if (eventSource == plantInteractionsButton)
					setLeftMenu(interactionsMenu);
				else if (eventSource == plantOptionsButton)
					setLeftMenu(plantOptionsMenu);
				else if (eventSource == lightOptionsButton)
					setLeftMenu(lightOptionsMenu);
				else if (eventSource == filterOptionsButton)
					setLeftMenu(filterOptionsMenu);
				else if (eventSource == geneOptionsButton)
					setLeftMenu(geneOptionsMenu);
				else if (eventSource == presetOptionsButton)
					setLeftMenu(presetOptionsMenu);
				// Change Cursor ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
				else if (eventSource == selectPlantButton)
					currentCursor = Cursor.getDefaultCursor();
				else if (eventSource == plantSeedButton)
					currentCursor = plantSeedCursor;
				else if (eventSource == getGenesButton)
					currentCursor = getGenesCursor;
				else if (eventSource == killPlantsButton)
					currentCursor = killPlantCursor;
				else if (eventSource == moveFilterButton)
					currentCursor = moveFilterCursor;
				else if (eventSource == deleteFilterButton)
					currentCursor = deleteFilterCursor;
				// Update light
				else if (eventSource == showLightButton)
					{
						if (!sim.showLighting)
							{
								sim.pause();
								warpSpeedSlider.setPercent(0);
								sim.updateLighting();
							}
						else
							sim.unpause();

						sim.showLighting = !sim.showLighting;
						showLightButton.setLabel(sim.showLighting ? "Hide light" : "Show Light", true);
					}
				// Filter options
				else if (eventSource == createFilterButton)
					{
						sim.addFilter = true;
					}
				// Preset options
				else if (eventSource == savePresetButton)
					{
						Hub.presetIO.savePreset(presetSaveNameField.getText());
					}
				else if (eventSource == openPresetsFolderButton)
					Hub.presetIO.openFolder();
				// Gene options
				else if (eventSource == saveGenesButton)
					{
						Hub.geneIO.saveGenes(sim.currentGenes, geneSaveNameField.getText());
					}
				else if (eventSource == openGenesFolderButton)
					Hub.geneIO.openFolder();
			}