Added functionality for keeping the currency input box formatted.