Bug Fixes

-Fixes an error handling issue within DispatchCommon.js
-Corrects an issue on Bayshore Yard where Cavanaugh link doesn't work if the mainline is locked