That cookbook for inter-app communications shows how to have an extension launch on host app start up.
You need to edit the manifest file. That part is near the top of the cookbook.
Then in your extension set a creationComplete handler. That handler will be called when your extension is fully loaded.
I tried the auto-visible before but forgot about the event completely. Setting auto visible with the event works like a charm.
Thanks a lot.