changes to get_center again, now using KDE