Improved logging significantly.
Made logging even better. Still trying to find bug in dynamically calculated stats.