More work on texture pack loading