Upgrade lockdown, fixes leaked global. Fixes #54