Experimental Python port of Flexwin