Code fixes and clean-up.
Updated .gitignore. Included some new (project) files.