My input:
1.)aside from speeding an important tech (CoL, CS) or prepping for mass upgrades, building wealth and research is most effective after assembly line and builidng factories and plants, whereby the hammers are converted to beakers/gold at a 2:1 ratio. If there is nothing particulalry interesting to build, doing this in the IW city has a 300% multiplier, higher than any commerce multiplier possible! Extreme best case scenario: Beaurocratic Tokugawa w/ IW in capital, with forge, factory, shale plant = 360%.
2.) Regarding specialists: if the city is building wealth/research, switch all engineers and priests to merchants/scientists. Remember that the engineer/priest hammers become gold or beakers, so an engineer makes two beakers whereas a scientist makes three - don't rip yourself off! Exceptions:
-you have an obsessive compulsive complex about GP pools.
-Ankor Wat priests
3.) One of the best times to build research/wealth is during the parts building phase of a spaceship race - when a good production city finishes a build with an impressive overflow, build wealth or (more frequently) research until the very turn a new, expensive part becomes available. The overflow is NOT converted into beakers, rather, it carries over the next time you switch builds, regardless of how many turns pass. When you switch to the SS part, the overflow from several turns ago gets applied to it, and multiplied by aluminum/lab/elevator bonuses.