Some minor bug fixes and added some to do's

New file:

 * .gitignore