Updated gitignore to contain storage files.
Return the right error code so error handling works correctly.
Forgot to free the options_t.
Version number.