Removed X11 stuff from main that shouldn't be there