make installing uncaught exception handler optional
refactor finishedLaunching->setup to include a hook and cycle before setup