Revert "PGS Subs: Don't read from null ptr and Flush on error"

This reverts commit 44bd23bc5d85ad3317b2d2bd0ab1585f28c21aa1.