Fixed Mac loading bug (need to prepend "file://" to every URL, otherwise it fails).