Synced from test server

Done some work on the AdminCP, and I think I've finished the IPN for
now.

I'm going to resent the day I have to change it completely. It's coming,
doesn't change the fact I'm going to resent it.