some improvements

Python serial class proves to be the only reliable