Fixed bugs in TimeList and added .gitignore
More bugs squashed