1. Better preloading.
2. Fixing some Firefox bugs.
Merge pull request #3 from robobeau/develop

Pull from origin