Update wxTetryTerminal.py

Numerous bug fixes