Merge pull request #158 from greboid/newserverdialog

Remove unused variable.
Stop using StreamUtils methods.