Game engine ported to sandbox; still glitchy