added a pause after random is done, instead of exiting immediately. updated some documentation and some pep stuff along the way.