Some Minor stuff changes in python side in multiple files, for stability.

....