Add preliminary support for windows and sprites.