Groups the command-line options, now the help is clearer for users (#6)
Fixes a typo and removes some compilation warnings (#6)
Fixes a segmentation fault case