t4k_loaders.c: Add/improve error handling.