First off... I am just curious, what are you trying to accomplish with this program exactly?
Also, the first thing I noticed is that there's no "Return" at the end of "loadImages:", so it will keep going through "playerMovement".
Keep checking here often, as I'm still going through your code and I'll update this post.
EDIT1: Also, noticed no Return after "playerSprites:" too, so it goes through into "Vars:".
No Return after "playerBoundaryChk:" also.
Those are the ones that jump out the quickest at me. Without that last Return (playerBoundaryChk), it will continue until the end of your code (wait 10000).
EDIT: Whoops... also a return after "message" was needed. Once you put all those returns in, then you can see stuff, but it looks like it still needs some work.