added custom stacktrace printing to run_commandline. fixes #16