Some bug fixes for ST2

Python version control and unicode strings format