web: various fixes, add clear button