Merge "Aggresive performance optimizations." into qt-dev