sprite stuff and windows