Implements performance improvements to iframe loader