Added option for swallowing X11 errors