Use new, simpler plugin API

Fix popularity off-by-one

Remove checks for socialhapy