Add new procedure run_command to execute an external command.
Add initial X11 support