FIX Flush on memory exhaustion and headers sent
FIX Token redirect where in IIS a / needs adding between host & url
FIX Constants magic_quotes needs function from Core
Merge pull request #2286 from hafriedlander/fix/flush_24

FIX Flush on memory exhaustion and when headers sent