New generic function area with main method area.owin (implies minor changes in many files).