Added .gitignore to ignore the bin folder in the function generator
plugin.
Added a check to prevent and NPE when the user cancels the operation.
Also, added info to the error message when a bad format file is
selected.