Improved client GUI handling procedures
Fixed code for querying tag counts for images