Cleaned up extra call to add files to tern server

A couple of other misc clean up