Hi Peter,
I am not an expert, of course, just a diabetic myself, but I think I can safely say that your mood swings could be related to your sugar levels.
Insulin, as a hormone, can influence your mood. For a new type 1 diabetic the changes can be quite significant and difficult to get used to...