Fixed premature facebook output that broke Gzip compression

We were outputting prematurely, which if you have config['compress_output'] = TRUE; does not work.