Got mvoing around working with character centered in the middle and stay within map boundaries. :p