added generate map, player loses level on death, fixed respawn