some fixes, some cleanups, activating paid_visit detection.