private void processCommand(String unprocessedCommand)
	{
		
		unprocessedCommand = unprocessedCommand.replaceAll("\\s+", " ");	//take out all extra spaces. ("Hello     world!" -> "Hello world")
		
		if(unprocessedCommand.length() == 0 || (unprocessedCommand.charAt(0) == ' ' && unprocessedCommand.length() == 1))	//avoid exceptions when nothing (excluding spaces) is entered 
			return;
		
		if(unprocessedCommand.charAt(0) == ' ')	//If first char is a space, eliminate it (fixes annoying bad commands where the rest of the command is correct)
			unprocessedCommand = unprocessedCommand.substring(1);
		
		if(!(unprocessedCommand.charAt(unprocessedCommand.length()-1) == ' '))
			unprocessedCommand = unprocessedCommand + " ";
		
		char[] charCmds = unprocessedCommand.toCharArray();
		String currentArg = "";
		
		for(char c : charCmds)
		{
			if(!(c == ' '))
			{
				currentArg = currentArg + c;	//keep appending to currentArg until next value is not a space
				
				if(!(unprocessedCommand.indexOf(c) == charCmds.length-1))	//Without this, the last argument is not processed.
				{
					continue;	//re-loop with next character
				}
			}
			args.add(currentArg);	//add newly processed argument
			currentArg = "";	//reset current argument
		}
		command = getCommandFromAlias(args.get(0));	//command is first argument
		args.remove(0);	//remove command from arguments
	}