Code cleanups.  Added PIN lookup to tools.  Error handling for server side push.