Expose getSplits for testing purposes
Filter out creation of future thread if split doesn't intersect
Remove all javadoc warnings
Merge master into stat.