Revamp of the local X11 connection code. We now parse X display