add setupclock; also first attempt at fixing swap hysteresis: