pythonshare: improved debug mode printing
fmbttizen: improved error message on connection loss