Reenabled Python warning output.

Python 2.7 turns it off by default, so we deprecation warnings were getting suppressed.
Fixed typo in TextWidget deprecation warnings.
Fixed deprecated method call in ImageViewToolbar.py.