Cleanup and PurchaseHistoryDetailsTableModel fix