Fixed most turtle window bugs.