Refactor: X11 driver handles command line arguments