KSE-100 closes session with a modest gain