public static GuiCommand getCommand(String command)
    {
        for(GuiCommand gc : GuiCommand.values())
        {
            if(gc.name().equals(command))
                return gc;
        }
        return null;
    }