add ssjava debug option to have interim results if we want and small changes