Merge pull request #161 from rrthomas/master

Fix commander commands that take zero arguments.
Fix calculation of rootDir now that commands are executed directly (fixes #158)