Debug mode now plays midi and logs note

Also added better logging