Sorry, I have changed the way I handle the way I wait for the editor to Initialize. I was using setTimeout because I did not know about AddInitializeScriptCode.
Some weird timing issue that stopped occurring when I changed to the correct method.
This post can be deleted / archived.