Fixed warnings and added executables to .gitignore