make first argument to compile_top optional

if NONE, then don't add code for printing. this gives the option to do
the bootstrap without printing. (previously we used compile_decs for
that but that doesn't exist any more.)