elastic-med: improvements; closes #37