some copilation warning fixes
add average max utility for each period
add republic to full trace output