Added two changes that make codebase ready for automatic conversion to python27.
Fixed timing issue in tweetboard.js
Fixed bug on 32-bit systems