That indicates a faulty script, or one that's not compatible.
Have you tried other routes or content to ensure it's not related to a particular consist or locomotive?
The other thing too is after a program update and database repair, the program caches content. This process can cause things to freeze for "sometime", depending upon how much content you have.
You can tell if the caching is taking place because there will be constant updating of information in the log as well as a caching message at the top of the loading screen. If you open a route, you'll notice this message at the top as well, and your menus will be missing items including buttons as stuff loads.
I have found an EDR helps in this regard after an update since it clears the old cache file and then rebuilds it when routes are loaded again.