Make parsing empty documents not hang (this also makes our fix for about:blank simpler).
Hack-ish enabling of THREADED_PARSER for the mac port (this is not ready for landing on trunk).