Send Util.log to both STDOUT and UI when in server mode.

Closes #338 .