Improved logging, added tabs to log output for ease of reading