Correctly dispose of things after use.
Download libs and client with hash checking