First attempt at storing last N messages in memory.