xrandr: few more checks

- try to run in windowed mode if no output was found
 - close display correctly in case of no output
 - add few warnings