I remember rainisto mentioning on IRC previously that apps closing is simply an Out-of-Memory issue... Most probably the RAM required for the dpkg process at times is more than free RAM hence it closes apps first to complete the dpkg process...