(core) hopefully some improvements to the framequeue