Updated handling of Screen, Mouse and Keys