Fix for the emulator sometimes crashing when there is a ton of output to display.
Fix for the emulator sometimes crashing when there is a ton of output to display.

sedwards2009/extraterm,sedwards2009/extraterm,sedwards2009/extraterm,sedwards2009/extraterm,sedwards2009/extraterm