Moved script laoding so page has loaded
Implemented loading of images while allowing for progressbar or thelike