Input updated

More input, tests,  some masked image blits, and surface.replaceColor()