Show prettier name in UI.

Work around a SparkUI issue where the name to show has to be
provided in the constructor.

Also remove explicit flushes from logging code, since they're
not really useful now that the HS only reads data from finished
apps (and the API used does not exist in Hadoop trunk).