fix unhandled exception and ctrl-c interrup on win
fix unhandled exception and ctrl-c interrup on win

lachtanek/pb138-address-visualisation,lachtanek/pb138-address-visualisation,lachtanek/pb138-address-visualisation,lachtanek/pb138-address-visualisation