Some fixes

- Typo fixed
- If it's an X11 app it will not launch it in a terminal (might not always be desirable)
- Will also try to use the maybe-predefined TERMINAL shell variable