Minor fixes to pseudocode, python variable handling, and executable code handling