Begun my rewrite of Flexible Windows