Added a WINEDEBUG environment variable that allows turning on debug