Question
I read in a tech magazine that Israeli scientists are currently working on developing gadgets that use artificial intelligence and virtual reality to enable the user to interact with the likeness of a real person. The software stores the physical image of a real person and as much information as possible about their personality and whatever knowledge and experiences they have had, plus it can learn more after the fact and apply that knowledge. A user can then put on goggles and a headset that enable them to have a simulated interaction with the likeness of this person. The purpose is to enable one to continue to feel like they have a relationship with their loved ones following their death. I am wondering what the implications of this are in Jewish law. Would this violate biblical prohibitions against making an image? Or those against communication with the dead? Or any biblical or rabbinical commandments?

Question
Scientists are currently working on developing thought-activated electronics. They would be able to do things like turning a light on and off just by wishing it that way. Suppose one lived in (or was visiting) a house that had a thought activated light. Such thoughts are difficult to control. What would one do on Shabbat?