Completed the check checking and cleaned up the pgn.py file.  pgn.py now accepts arguments.