Fixed car.cpp/h compilation error.
Overwrite Terminate for syncthread:
Give signal to terminate, give heartbeat so thread exits cleanly (most likely it is stuck waiting for the go ahead signal and thus will not exit cleanly).
Fixed possible (and probable) memory leak in main.
Do not create cars over given limit.