Debug window respects QProgEdit color scheme
Avoid repaint artifacts when switching to another tab from a modified script tab