Application lifecycle is now completely implemented. I hope, also working