A refactored version of the public domain 'autofit' module for the Monkey X programming language. (Originally developed by DruggedBunny)