Reworked unique key creation
Lowered sleep time
Added and cleaned up comments