Removed some debug console output and unnecessary comments