Proper error codes.
Install script improved.