Change new indexof macro to an inline function.
Add error checking to parse_geometry_string.
Parse: zero pos_x when changing screen.