Add #regions

New wrapper processClick;
Renames
Put an existing loop in the function flip()