Move startup and shutdown out of Window and back to app.d