Allow removing of breakpoints after debugging, fix #48

If set_line() was called on a breakpoint, the value was not cast to an
integer. This caused comparisons to fail. Now always wrap the value in
int().
Don't close file logger on exit of debugger