Finished publishing locking to ensure a single user client publishes at once, minor jshint fixes
Added user muting.