Add make: `bgTest' is up to date. to Makefile to build bgTest.
Change way memory was deallocated (potential mem leak before); Add struct Status to manage waits.