better gitignore
Moved print statements and condition checking to the Timer so they run once per secnod