Removes STDOUT.flushes and a troublemaking sleep