Better message management

Cap messages at 250, clear them as new ones are added.