Fix one more bug which could allow an invalid cost input, and format cost as currency on update load.