Change: Add Thread Bans relation to threads when fetching all thread information
Change: Add extra error logging for debug purposes
Fix: Fix server error with certain background tasks
This version improves performance by changing some internals to require fewer database queries, as well as fixing a potential server error when performing certain background tasks.