Added a delay on th diagnostics so that I don#t get false PIDS. Doesnt really work yet
Added a dump to file option
Minor update