Poor you! 40mM blinking eck, must have been like drinking sand.
But welcome to the type 1 club.
The good thing about type is with planning and dose adjusting, you dont have avoid any foods in particular. Of course we all have our personal goals for weight. Getting older :-/ , or less active, the weight stays on more easily, so i'm try limit my carbs or head to a carb free diet ( in general).
But although the concept of prodding yourself with injections seems a bit alien, you'll probably feel much better on them and they dont hurt, more or less. If i'm high, i really want to bring it down so the injection is welcome.