Modified balloon_demo.py and minor syntax fixes to other files