bugfixes to prepare for release
pubnub richshaw