Fixed memory map copying (still don't know what was broken before...).

Frame stack initialization doesn't work for higher amounts of frames,
for some unknown reason. Gonna debug~~~