Length conversion added. Some GLog stuff changed apparently.