I found this project a few days ago and wanted to say thanks. It really helped me out with an internal demo in talking to our TMS server.
I ran into a couple issues and wanted to give back. First is that my TMS server would always throw 500 errors and I tracked it down to the requests not having a user agent specified. Not sure exactly why this is but adding anything in the user
agent field fixed it.
Second my demo needed to be launched from a mxd file due to its custom front end. So I roughed in IPersistStream to BruTileLayer and made save and load work for me, can't say I really tested it for anything other than tms layers but it should
work for at least some of the other types. I am willing to send you a patch if you would like it.