Add some debug output.
Fix screen width not always match randr outputs.