added total pop to controlled planets summary
fixed numfactories
added pre button
fixed/disabled table formating if <pre>