Replaced _run recursive call with a while loop.

Provides exactly the same functionality with the benefits of no longer gradually increasing memory usage of the PHP process while transcoding, nor tripping up xdebug.max_nesting_level setting.

Indented while loop content.