Adjusted TTY and loop to actually work together properly.

Signed-off-by: retep998 <retep998@verizon.net>