Updated .gitignore.
Changed custom build rules.
Code cleanup.