Going through my manual for the Maximus IV Gene-Z/Gen3 I find "OEM pre-memory initialization codes" for Q-codes of 1D-2A, 22 is somewhere in between those, which is not a good thing.
What are your complete build specs including case, cooling, PSU etc.
What are your current temps both idle and while running Prime95
I'm just trying to isolate the issue here which may very well be the motherboard but let's hope not. That info will help.