Okay, this is ready for some more testing. Feel free to spread it around to your friends, but try not to let it get out of hand. Any user can use it now, but I will eventually make it so that only paid users can use it.
I fixed the XML output so that it doesn't try to put the headers there at the start of every month, just the start of the whole document. I also made it so that it will make three tries per month if it gets timeout errors.
Any feedback on this would be appreciated.