Resources: Fixes for slots and single targets
Merge branch '4.1-dev' of https://github.com/Windower/Lua into 4.1-dev