comment out notmuch stuff
check for X11 presence before querying for screen size