Fix many issues related to web-interface