frame.c done, TODO: change pallocs and do page.c