Cleaned up functions
Removed display of sample text stats