Added support for 'public' flag in MessageQueue
Better pseudo random generator for cryptography
Removed incorrect comment