bfg: fixed remaining TODOs, now it's time to put it to good use.