detecting various stuff related to displays and screens