Added "loading screen" independent from server delay, added tests, and did some refactoring. Have set loading screen to 5 sec. If there are no pictures ready at that time, loadingscreen will reappear.