Wrong img location bug fixed.
Unnecessary window.beforeunload removed.
waiting gif added.
TO-DO list updated.