I have not browsed the code yet, but my first thought to expand on this idea would be to add a sub to create a break in the pages depending on how many avatars the admin has uploaded (ie - multiple pages, each showing X amount of images).
Donate to UBBDev today to help aid in Operational, Server and Script Maintenance, and Development costs.
Please also see our parent organization VNC Web Services if you're in the need of a new UBB.threads Install or Upgrade, Site/Server Migrations, or Security and Coding Services.