A lot of work on windows app - length conversions done!