Moved queue paint count to the server. Removed a few no longer used
routines.

10 files changed