about the iprintlnbold() - you either have it in a loop, or you are threading to the function more than once, and therefore have several instances of the function running: it will produce more than 1 iprintlnbold(). Check to make sure you only have 1 function running.