runner: catch some exception (KeyboardInterrupt)

And also check empty line