Improve startup with optimizations and progress bar