Made redshift launcher more robust