fixed log_stacktrace args
OF side effects now returned properly.

Everything should be in place for full integration with
a working OF Module/sniffer. The little dummy_test has been
extended to show more functionality. Also, some bugs with the
stacktrace display have been corrected.