SSH plugin:  Fixed a cosmetic exception that could wind up in the logs if a terminal gets closed before the SSH connect string could be checked.
app_terminal.py:  When a user attempts to open a terminal using an invalid command they will no longer be left with a phantom terminal (it will now send the "terminal:term_ended" WebSocket action).