Err, how is it possible mess up seriously in Civ 5? If you are low on money, you build money buildings. If low on happiness, you build happiness buildings, etc. Unlike in Civ 4, where a couple of cities too much before you get right technologies can easily grind you research to a halt.