[abm] Trial#4 + various warning fixes