Sounds good to me, used the staged approach on the manager / substitute. Dependant on what the '****ing' was, possible reason to whip out the red card, but in the context I would have gone with a caution like you did.
In respect of the other players, they don't have a clue. You have overruled...