Made major adjustments for the behavior of !bpop in Beamer slides.
merge