Teleport fixes and a lot of asm