Refit lock manager
Fix $.phpr.post so it doesn't overwrite it's own context.data