Final build, everything but doBFS works

ah well, can't do anything now.