there is some problem with https and the streaming api
clean up logging
sublime recreates a file on save...
various fixes