remove window framing, moved correct double buffer flag