Vastly improved error handling. Also use chalk a bit for nice output.