New features 80%

Cleanup, added requests:
y-coordinate flip
grid size and mapping to coordinates in vars: xidx and yidx
grid highlight (not a good solution, flashes visually)