Fix #22
Correct typo in comment for give command
Merge pull request #27 from zamN/master

Fix #23

Optimizes getFlagString.