Bug Fix

Fixed panels being wrong size, fixed file writing for each type of stat.