@Override
			public void paintComponent(Graphics g)
			{
				int i =0;
				creaturesToRemove.clear();
				//synchronized(Empire.creaturesListGuard)
				{		
					for(Creature c : unitList)
					{
						if (c.isLiving() == true)
						{
							i++;
						}
						else
						{
							creaturesToRemove.add(c);
						}
					}
					unitList.removeAll(creaturesToRemove);	
				}
				
				unitCount.setText("Unit count:   " + i);
				
				Graphics2D g2d = (Graphics2D) g;
				g2d.setColor(COLOR_GOLD);
				g2d.fillRect(0,0, this.getWidth(), this.getHeight());
			}