There is some kind of bug that crashes the game. It occurs near the completion of the streetcar lines.
To avoid it, use the keyboard shortcut "8" (just the number 8 on the keyboard). This will "pre-build" the two streetcar lines, and the game runs smoothly from that point on.