manager: if UI_DIR is set, serve UI as well

A little hack to also serve the HTML/JavaScript UI if UI_DIR is set to
point to the ui/ directory. One could possibly do this with a
command-line option instead.
hello :-)