cleaned metrics function, added event listener for camera retarget