Added the option to discard the texture window by specifying a windowSize of 1