Experimental algorithms for managing widget layouts - old school!