Initialize X11 only if necessary
Doc-string formatting changes