preparing for better repl tools

rearranged the toplevel for the bard executable so that it can enter a breakloop when it catches an error