Fixed possible null pointer dereference.  Fixed R HTML output to be prefectly in SPECCCCCC when no one exists.