Several webui fixes

First, make it work, then make it look nicer.