Changed windows() to dev.new().