Core/Spells: Manually reverted 8dea73fc83ed00764e03c6ee3bb7c1ffa28527eb.

Will have a closer and better look later.
Core/Logging: Performance-related tweaks to logging system

Signed-off-by: blitztech <blitztech4@yahoo.com>