Fixes #277: Wait for Log to Exist + Use Console.Log + Trim Trailing Newline