About the cultural win: press F8 every once in a while (or click the red fist up to the right). Keep an eye on the victory conditions.
In what ways did the AIs get ahead? Production or technology? Don't just look at the scores, you can be in a winning position while being quite far down the points chart.