Cleanup X11 stuff

Signed-off-by: Michael Steinert <mike.steinert@gmail.com>