More windows fixes (this time to the Segraph demo)