BEF staging

Welp, before all devs disappear, I'd like BEF to be finally merged, since it has sexy new features and fixes for old bugs. Also, it would finally lift feature freeze. Discuss.