Remove the duplicated line.
Don't use a hardcoded 5
Massively improve load times of the collapsed scout page by rejigging the indexes on the message table. Goes from around .55s to .05s
Massively speed up logging in by reducing the message expiring query from around 2s to 0.0002s