Adds threading event so that the program can be interrupted & closes serial connection when that happens
Minor changes
Adds logginf format & ip address as required argument
Updates gitignore