Make consistent return data from waitid() with wait()
Bug fix---wait for stopped and continued children processes
Bug fix---Returned garbage instead of success.