The Ready event produced unexpected results. Why?
It is possible the Ready event will produce unexpected results if KaleidaGraph is being launched by the script and the Event Log is open. It may not tell the script that KaleidaGraph is ready unless you go and choose KaleidaGraph and return to the script. Either close the Event Log or modify the command so that it waits for a specific window name to be listed (Data 1 for example).