/dev/urandom improvements, thanks Walter. Fixed active_server check