Enhanced profiling
Performance optimizations and bug fixes