Core: removed Debug output. Cleanup.