Perhaps some bad news: The first version you posted worked fine, or fine as far as I could tell, on my computer, but the new version is buggy as all get out. Sprites randomly flash and disappear, and the metalman at one point turned into a different graphic, I think.
It may have been doing that on the old version as well, but I just couldn't tell due to the framerate.