Add netbeans folder to .gitignore
Remove unused variable.