Added SourceString.retrieve_tokens and slight PartpyError fix