frameRegistry: added frame registry so we dont have to store frames in _G if we dont want to