Simple support for flipX, flipY
Clean up method names, add comments