if (args[i].toLowerCase().startsWith("-dir:")) {
dir = args[i].substring(5, args[i].length());
} else if (args[i].toLowerCase().startsWith("-db:")) {
db = args[i].substring("-db:".length());
} else if (args[i].toLowerCase().startsWith("-help")) {
StartupHelpDialog dialog = new StartupHelpDialog();
DcSwingUtilities.openDialogNativeModal(dialog);
System.exit(0);
} else if (args[i].toLowerCase().startsWith("-debug")) {
debug = true;
} else if (args[i].toLowerCase().startsWith("-nosplash")) {