Thermal transport, magnetism, and quantum oscillations in Weyl semimetal BaMnSb2