adjusted to the latest in Bottles profiling
added a lot of performance tracing to further optimize the application loading time