Fixing logging output on the front end too, plus lots of LinuxEnv fixes