Simplify the singleton sample window creation.