Cleaned up debug logging calls, tabs > spaces.