several fix

1) fix shifted the zone of visibility at the beginning of a new game:
if OPTIONS["DISTANCE_INITIAL_VISIBILITY"] = 3
![24 02 14](https://f.cloud.github.com/assets/4676406/2242825/6fa86b5c-9d11-11e3-80b6-9aaf0b9966d0.png)

2) fix determine the length of the string in adv inv

3) Removes free cloth and thread of shelter(Replaces the window with the curtains on a regular window).