fixes #20 ; added the break statements to the other handlers to prevent the program from quitting when it is unable to bind itself, etc.