Trying to fix null pointer bug, and implementing ms and mbps on seperate axes