fix bug in find_p3colours that caused it to hang when there wasn't one
various little things to help with setting rulers field in qcat