Include lodash and fix throttle trailing call, fix various client bugs