1. Clean up the error handling in smblib ...
