Basic window and buffered rendering