Add code to initialize window

Window does not update currently. Program can only send first 16 packets
of file.