Fix message queueing issue in ffdb.py which could discard log messages if the app was spamming a lot of them.