Consistent error handling in escapeShellCommand
Misc. improvements to module summary
toString is not a property