Add nodes and edges output format
Add version string
Fix problems in MacOS X