Seems to have a bug in the research autobuyer (first Favor upgrade); the block is checking gdata.research[x] when it should be checking gdata.basicResearch[x]
gdata.research[x]
gdata.basicResearch[x]
Also, Favor upgrades seem to be resetting on prestige, while the prestige tab says it only resets non-favor upgrades.