Fixed the file upload and kmeans processing.
Fixed: Stats tree opening/closing more than once, redundant listeners.
Worked on stats stying height fix.
Resolved merge conflicts.