And... that isn't even all of it....
(And yes, I know that error size doesn't mean much. Especially in this case, where it complains about an incorrect type being passed to the construct of a class and handling that causes another error.So.. its probably an easy fix, I hope....)