Removed debug messages, tweaked env. init timing.