Webui improvements

I got the webui working and these are two changes I found that helped me.  I'm not super knowledgeable about node, and I don't have a lot of experience with the webui, so please let me know if either or both of these are unwarranted or incorrect.