bug fix

fixed bug where we read from the image file too soon and the file
was empty
added timeout value back
limit to 200 rounds and close chrome window after
main program to control delay and test; add size parameter also
control timeout value by reading from const