JBIDE-17300 - small changes for better user performance

Ensure that a whitespace string for a startup or shutdown command does not get overridden by the default and throws the proper exception. Also ensure the UI displays a proper warning indicating that empty strings are invalid.