Update Viraj pyTerminal.py

bug fixes