The icons thing is because the devs didn't name their programs correctly. In KDE I can create a window rule targeting that specific window and change the window title to be their actual program name, like com.mozilla.firefox instead of Firefox, and the problem gets fixed.