Fixed camera race, service shutdown, more robust scriptVersion, and added activity destroy