Slight update to QtSingleApplication.