Move images preloading and background cycling start to the "window.load"

Also trigger initial "window.hashchange" event immediately.