Applications with spaces in their name were trucated.  Now fixed

Thanks to @rmanly for finding this.