Fixed a bug with pointer ownership. Game client was taking ownership of DXRenderer, but main() had it in local scope and was deleting it as well.