Changing default window to 200.
Cleaning of the code.