Kill the process after Ctrl C
Fixed build error

Also some formatting