texunload command for unloading texture packs
better comment
use just one loop
properly update remaining packs after texunload
cleanups