Update Python version from 2.6 to 3.3; Fix resulting issues;