Added TODO bugs, legend for median/mean lines