Changed selfDestruct/loseUpgrade to coroutines

--Seems to work but who knows