minimal changes to compile with octave 3.8.1 (note: octave seems to inf. loop at exit now. yay!)
for now at least, use octave's exit/termination function to end the boda process to avoid octave choking at process shutdown time.