Made gamma ramp functions per-monitor.