Sorted out issue with failed return codes to client program.  Still blue screens after client program exits