fixed issues where setup would not run unless the addon was present at startup. Also did some cleanup to get better error information if certificate setup fails.