Fix .gitignore files.
Added ability to disable networking.