Logging output to the UI now works.