Finished runtime modifications.  95% sure this is working correctly -- except its not clear why I'm sometimes getting a memory usage of 0.