added random_string function to utils/strings.py, autoflush is now OFF by default