added support for data/mc ratio, errors, and fit