Added some stuff to help explain debugging with xterms