Split focus listener into its own class.
Merge pull request #155 from greboid/newserverdialog

Split focus listener into its own class.