Refactor main TerminalView file and change when stop checks are performed in main loops
Refactor main TerminalView file and change when stop checks are performed in main loops

The main loops that poll shell output, redraw terminal, etc. checked if we were stopped when scheduling the next call. Now they check right before performing their task (and only schedule a new call if temrinal view was not stopped)

Wramberg/TerminalView