Fixed race condition in bitmapFont load; updated sound resource counting algorithm.