Core/Scripts: Skadi the Ruthless cleanup and useless code removal.