Rename abbreviated variables for better clarity
- Rename 'pos' to 'position' throughout printDocToString
- Rename 'restIdx' to 'restCommandsIndex' in fits function
- Improves code readability with minimal changes
Co-authored-by: fisker <172584+fisker@users.noreply.github.com>