Now detects what the resolution is set to. #5