added scale to correctly change modes between normal and hidpi
re-compiled setresx to output error on resolution change failure