Core/Spells: Manually reverted 8dea73fc83ed00764e03c6ee3bb7c1ffa28527eb.

Will have a closer and better look later.
Core: Fixed windows compile
Core/Debugging: Marked assert functions as non returning