Fixed a crash being caused by foreign characters being saved to the database.
Fixed some instances of items being added to the queue multiple times.