added signaure threshold variable in settings, fixed pagination display for low numbers