I think the general crashing is just because the code is throwing an exception when it sees an error. I'll change it to exit nicely.
btw when I exit the app it kills my display driver..
My driver under windows also crash, thats windows like shutdown
What exactly are you seeing here? I've only got an Amazon EC2 instance to test on, and I don't get an issue. You're Ctrl-C-ing?