Well thank you everyone for your input. It occurred to me that I normally run SONAR HS, and that has led to a lot of problems/misunderstandings in the past, e.g., it didn't have a lot of the features mentioned in your replies.
So I've reopened the project in my recently downloaded Cakewalk re-release, which is more full-featured.
Anyway, I seemed to have been able to clean up my offending MIDI track. It actually had a couple of tracks overlaid onto it. How that happened, I don't know. I deleted all of that and am now down to a nice clean MIDI track with what appears to be a proper length, and "fit to project" works correctly.
The last problem I guess is another universal issue. How do I get my project to stop playing at the end of the tracks?? That issue did not get fixed. I've found this to be very inconsistent when using SONAR/Cakewalk. Sometimes it's good, other times it stops a few measures late, other times, like now, it just keeps playing forever until told to stop. Goofy!
Thanks all.