added initial window load

+ added the ready string output when the window had loaded