More window library code.