Added differential junction detecting code, updated sam.jar. Many fixes.