Add long capture to notes
Convert _this to $.proxy
Remove unused initClient
Extra _this, add count for note sync
Remove client defaults
Minor changes in socket open handler