Clean up LogStatusIndex and fix a few link bugs