Implements #690 (closed) for the historical database. The queue value of the wrapper section in the config is now stored in the database if applicable.
@dbeltran This merge presents the following error (already mentioned in Slack) when running a wrapper: