code optimizations turned off - startup time significantly improved.

App restarts itself out of debug mode - why?