Moved the client-side to file. Now handle greeting as a greeting, and alerts when nick changed.