update function names and documentation based on comments at filemakerstandards.org