gh - no need to pass USER in to functions since I made it a global variable
gh - tighten up pchart function for multiple plotted lines
gh - data entry checks - use apply() instead of loops (cleaner & faster)