-Ensure app raises when dock icon is clicked.
Fix for when a pipe did not contain a filename