Changed window name and removed printing to the console.