more changes mainly to square.js, most everything works with pubsub now.