Fixed main current status box problem, closing divs outside the proper if statment