Only try to set the terminal size if parent is a TTY
Catch all VT spawnign errors.

Fix the logging call and try to catch any errors occurring while
spawning the VT.