Added error checking to textfields. Also, sent appropriate info from mainVC to statsVC