Changed detection of screen environments to using the STY variable instead

Signed-off-by: Christian Jung <christian.jung@udo.edu>