Ch 986: Goals queue

Seems this is not unique enough - it can result in multiple queue items with the same uid if they are processed quickly enough. Should suffice to just append some Math.random() to it.