Reduce timeout. Change window size. Fix bug