use arcrandom instead of srandom
fix initialization of preferences, fix logo in preview