kwinApp() lives in abstraction layer above and we can use QCoreApplication to terminate the application.