Rename dictation server to .pyw so that it runs without a console window in Windows.
Use the correct encoding for pbpaste.