Sounds like they borrowed some story elements from Animated with Megatron not being evil but actually thinking he knows what is right for cybertron. Of course you could say that was also present in Beast Machines as well. Either way it is better than him just being evil for the hell of it.