Fixed logging error in server.js and made init.js add itself to .gitignore once it's executed.