Fixed correct setting of Python constructor values for half duplex
Added a lot of debug messages