Added alerts for GUI
Improved external shell