Text lib finished; fixed bugs with 'checktype' and files loading.