added fprintf's to coinloop