starts changing main layout - blue square in top left
changes coords[X], coords[Y] to coords.x, coords.y

no need for constants module or window = global;
synchronises with github (github changes discarded as equivalent changes made locally)