Worked on the collision and render function to allow uncentered terrain sprite.  Still some work needed on the box collision.  Started to add some code to allow foreground collision to disapear if the player go under.