Improved command-line options by the use of argparse. Black frame at EOF changed to optional.