cleaned-up importing std libs; sanitized screen detection on multihead setup