Added some of the fixes discussed over at Dean's blog, concerning DOM Ready.