// TODO: Most if not all of the below should be moved into action objects
private void handleEvent(ActionEvent event) {
String command = event.getActionCommand();
if (command.equals(Resources.getString("menu.edit.brush"))) {
BrushDialog bd = new BrushDialog(this, YaFrame.get(), currentBrush);
bd.setVisible(true);
} else if (command.equals(Resources.getString("menu.tilesets.new"))) {
if (currentMap != null) {
NewTilesetDialog dialog = new NewTilesetDialog(YaFrame.get(), currentMap);
TileSet newSet = dialog.create();
if (newSet != null) {