added social tracking
fixed tiny logging bugs