Mark classes in index with main method.

Don't add files to index from previous runs of jxref.
Render index concurrently with class pages