Refactored stopping and starting KDE applications before and after related actions are run.
Version incremented