move lang to ib._lang
random cleanups