Changed screen coordinates to go from (0,0) and changed semantics of resolution parameter.
Options for changing color range of surroundings.