onplayerdeath, loopoptions,gethealth methods added, formatting