Moved bench function to output to, cleaned up imports in dgame.