Core/Spells: Fixed channeling spells with infinite duration
Core/Misc: Another batch of fixes for issues found by static analysis