Another bug: when you kill avastui.exe, avast's tray icon is still present in system tray...
Unfortunately, tray icons are controlled by windows shell (= explorer.exe) and we can't remove/hide them directly from avast process. It's up to shell and sometimes it doesn't work correctly (especially if explorer.exe was terminated unexpectedly).