Fix -disablecef mode causing a crash
Make sure references are cleared when destroying a render browser.
Move destroying osr renderer to OnBeforeClose.
Fix processing of dead chars in html input fields like á and é. Of course need to hack around the existing input system...