Fixed several bugs.

Added verbose option.

Added Linux build.
Merge pull request #6 from Hykem/master

Fixed several bugs.