doculogging output, also a bit of debugging, now properly parsing max buys, and parsing diplomacy list