Bugfixing and misc updates.

Updated gitignore file.
Fixed unit bobbing bug.
Fixed AI bug.