Added skeletons to functions

Also switched a j to a jal so that we can come back into main from
keysched.