Comment in index.c
Cleaned up mutexes/conditions, made formatting consistent, other minor cleanup
Updated README for submission