improved tile loader