Formatting improved.
Private modifier added to averageRate variable. Font and NumberFormat are now static. Static init added.