Read about risk of collisions with CRC32, decided to ust generate a random8 character string instead

also a bit of clean up - deleting old commented lines etc, and fixing some indentation