Removed main from deletetransactionwindow