public static void main(final String[] args) {
		boolean displayConsole = true;

		if (args.length > 0) {
			// it has arguments
			if (args.length == 1 && args[0].equalsIgnoreCase(Main.help)) {
				System.out.println("Starts the KOI server");
				System.out.println("\nArguments:");
				System.out.println(Main.noConsoleArg + " - does not create "
						+ "a seperate console.");
			}
			int i;
			for (i = 0; i < args.length; ++i) {
				if (args[i].equalsIgnoreCase(Main.noConsoleArg)) {
					displayConsole = false;
				}
			}
		}

		final Editor g = new Editor();
		g.init();

		if (displayConsole) {
			final Console c = new Console(EventManager.getInstance());
			PackageManager.getInstance().loadPackage(c);
			if (!PackageManager.getInstance().enableOnLoad()) {
				if (!PackageManager.getInstance().isEnabled(c.getName())) {
					PackageManager.getInstance().enable(c.getName());
				}
			}
		}
		final TaskManager manager =
				new TaskManager(PackageManager.getInstance());
		manager.setVisible(true);
	}