Refactor summary and added average
Added max and min to summary
Added tree output
Disable resize for tables