Improved KDE Support (Fixes #662)