fixed webui, added config options