improve error reporting of bp.handler invocation
check return value of `runfile' to see if command loop should be started
pass thread to Event constructor