Auto targeting added. Mostly accurate... good enough for a prototype.